<template>
    <div class="wrapper">
        <h2>{{ title }}</h2>
        <slot name="name1"></slot>
        <slot name="name2"></slot>
        <slot name="name3" a="a" b="b" c="c"></slot>
    </div>
</template>

<script lang="ts" setup name="SlotCategory">

import { ref } from 'vue'
defineProps(['title'])

</script>


<style scoped>
.wrapper {
    background-color: skyblue;
    border-radius: 10px;
    box-shadow: 0 0 10px;
    padding: 10px;
    width: 200px;
    height: 300px;
}

h2 {
    background-color: orange;
    text-align: center;
    font-size: 18px;
    padding: 6px;
}
</style>